<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with assignment 2]]></title><description><![CDATA[A list of topics that have been tagged with assignment 2]]></description><link>https://community.secnto.com//tags/assignment 2</link><generator>RSS for Node</generator><lastBuildDate>Mon, 08 Jun 2026 18:19:37 GMT</lastBuildDate><atom:link href="https://community.secnto.com//tags/assignment 2.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[STA301 Assignment 2 Solution and Discussion]]></title><description><![CDATA[@ghulam-hassnain said in STA301 Assignment 2 Solution and Discussion:

Please share solution of assignment

STA301 Assignment 2 Solution 2021.docx
]]></description><link>https://community.secnto.com//topic/2243/sta301-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/2243/sta301-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[STA642 Assignment 2 Solution and Discussion]]></title><description><![CDATA[<p dir="auto">Please share<br />
STA642 Assignment 2 Solution and Discussion</p>
]]></description><link>https://community.secnto.com//topic/2227/sta642-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/2227/sta642-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[cyberian]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[CS607 Assignment 2 Solution and Discussion]]></title><description><![CDATA[@zaasmi said in CS607 Assignment 2 Solution and Discussion:

Question No. 2                                       Marks 10
Using deftemplate add a function with name “person” with slots name, age, degree and gpa. Then add fact of that person with your details.
Also write a rule with name “is-student-passed” where you will set condition on cgpa, if cgpa will be 3.5 or 3.7 then student will be passed. Write the code for this rule and run this rule.
Take screenshots of your CLIPS IDE window. If any student will send code on word or pdf file marks will be zero.

[image: hVsaaUW.png]
[image: HpQh5Ji.png]
[image: xwg9oKR.png]
You can download CLIPS IDE from this link
]]></description><link>https://community.secnto.com//topic/2182/cs607-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/2182/cs607-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[CS602 Assignment 3 Solution and Discussion]]></title><description><![CDATA[@wafa-sehar said in CS602 Assignment 3 Solution and Discussion:

Question # 2:
What are the Open GL Buffers and how can you create and allocate these buffers. Discuss with an example.

Nearly everything you may ever do with OpenGL will involve buffers full of data. Buffers in
OpenGL are depicted as buffer objects. As with several things in OpenGL, buffer objects are
named using GLuint values. Values are stored using the glGenBuffers () command.
Example: void glGenBuffers(GLsizei n, GLuint *buffers);
After calling glGenBuffers(),you will have an array of buffer object names in buffers, but at this
time, they’re simply placeholders. They’re not really buffer objects yet. The buffer objects
themselves don’t seem to be really created till the name is first sure to one of the buffer binding
points on the context. this can be important as a result of OpenGL could build choices regarding
the most effective way to assign memory for the buffer object based on where it’s bound.
]]></description><link>https://community.secnto.com//topic/2178/cs602-assignment-3-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/2178/cs602-assignment-3-solution-and-discussion</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[MTH603 Assignment 2 Solution and Discussion]]></title><description><![CDATA[@zaasmi said in MTH603 Assignment 2 Solution and Discussion:

@zaasmi said in MTH603 Assignment 2 Solution and Discussion:

Assignment NO. 2		MTH603 (Spring 2021)
Maximum Marks:  20
Due Date: July 30, 2021
DON’T MISS THESE: Important instructions before attempting the solution of this assignment:
•	To solve this assignment, you should have good command over 23 - 30 lectures.
Try to get the concepts, consolidate your concepts and ideas from these questions which you learn in the 23-30 lectures.
•	Upload assignments properly through LMS, No Assignment will be accepted through email.
•	Write your ID on the top of your solution file.
Don’t use colourful back grounds in your solution files.
Use Math Type or Equation Editor Etc. for mathematical symbols.
You should remember thatif we found the solution files of some students are same then we will reward zero marks to all those students.
Try to make solution by yourself and protect your work from other students, otherwise you and the student who send same solution file as you will be given zero mark.
Also remember that you are supposed to submit your assignment in Word format any other like scan images etc. will not be accepted and we will give zero mark corresponding to these assignments.
Question 1:
Find the first and second derivative of function f(x) at x=1.5 if:



x
1.5
2.0
2.5
3.0
3.5
4.0


f(x)
3.375
7.000
13.625
24.000
38.875
59.000



MARKS 10
Question 2:
Using Newton’s forward interpolation formula, find the value of function f(1.6) if:



x
1
1.4
1.8
2.2


f(x)
3.49
4.82
5.96
6.5



MARKS 10

https://www.youtube.com/watch?v=BtdgWZ0wy4Q

MTH603 Assignment 2 Solution Spring 2021-converted.docx MTH603 Assignment 2 Solution Spring 2021.pdf
]]></description><link>https://community.secnto.com//topic/2174/mth603-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/2174/mth603-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[CS201 Assignment 2 Solution and Discussion]]></title><description><![CDATA[
// CS201 Assignment 2 Solution Spring 2021

#include &lt;iostream&gt;
#include &lt;conio.h&gt;

using namespace std;
int ShowMatrix()
{
	//main matrix
	int row=2, column=2;
	 int matrix[2][2] = { {8, -4} , {-6, 2}  };
   cout&lt;&lt;"The matrix is:"&lt;&lt;endl;
   for(int i=0; i&lt;row; ++i) {
      for(int j=0; j&lt;column; ++j)
      cout&lt;&lt;matrix[i][j]&lt;&lt;" ";
      cout&lt;&lt;endl;
   }
}
	//Transpose
   int showTranspose ( )
{
   int transpose[2][2], row=2, column=2, i, j;
   int matrix[2][2] = { {8, -4} , {-6, 2}  };
   
   cout&lt;&lt;endl;
   for(i=0; i&lt;row; ++i)
   for(j=0; j&lt;column; ++j) {
      transpose[j][i] = matrix[i][j];
   }
   cout&lt;&lt;"The transpose of the matrix is:"&lt;&lt;endl;
   for(i=0; i&lt;column; ++i) {
      for(j=0; j&lt;row; ++j)
      cout&lt;&lt;transpose[i][j]&lt;&lt;" ";
      cout&lt;&lt;endl;
   }
}
//determenent calculating
int	calculateDeterminant()
{

	int  determMatrix[2][2],	determinant;
	int matrix[2][2] = { {8, -4} , {-6, 2}  };
	
	
	
	determinant = ((matrix[0][0] * matrix[1][1]) - 
					(matrix[0][1] * matrix[1][0]));

 	cout &lt;&lt; "\nThe Determinant of 2 * 2 Matrix = " &lt;&lt; determinant;	
}


//Adjoint of matrix
int showAdjoint()
{
	  int ch,A2[2][2] = {{8,-4},{-6,2}},AD2[2][2],C2[2][2];

        
//Calculating co-factors of matrix of order 2x2
        C2[0][0]=A2[1][1]; C2[0][1]=-A2[1][0]; C2[1][0]=-A2[0][1]; C2[1][1]=A2[0][0];
//calculating ad-joint of matrix of order 2x2
        AD2[0][0]=C2[0][0]; AD2[0][1]=C2[1][0]; AD2[1][0]=C2[0][1]; AD2[1][1]=C2[1][1];
        cout&lt;&lt;"\n\nAdjoint of A is :- \n\n";
        cout&lt;&lt;"|\t"&lt;&lt;AD2[0][0]&lt;&lt;"\t"&lt;&lt;AD2[0][1]&lt;&lt;"\t|\n|\t"&lt;&lt;AD2[1][0]&lt;&lt;"\t"&lt;&lt;AD2[1][1]&lt;&lt;"\t|\n";

	
}

int main()
{
	int cho = 0;
	
	cout&lt;&lt;"        ||---Enter your choice---||"&lt;&lt;endl;
	cout&lt;&lt;""&lt;&lt;endl;
	cout&lt;&lt;"---Press 1 to display the matrix and its transpose---"&lt;&lt;endl;
		cout&lt;&lt;"---Press 2 to find adjoint and determinant of the matrix---"&lt;&lt;endl;
		cout&lt;&lt;""&lt;&lt;endl;
		cout&lt;&lt;"Press any other key to exit.";
		cout&lt;&lt;""&lt;&lt;endl;

		cin&gt;&gt;cho;
  
  if (cho ==1)

  	{
  	
  	ShowMatrix();
    showTranspose ( );
	}
    else if (cho == 2)
    {
	
    showAdjoint();
	
	calculateDeterminant();
	}
	else
	
	system("pause");
}




]]></description><link>https://community.secnto.com//topic/2112/cs201-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/2112/cs201-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[MTH101 Assignment 2 Solution and Discussion]]></title><description><![CDATA[https://youtu.be/GIQRKwKoxHk
]]></description><link>https://community.secnto.com//topic/2111/mth101-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/2111/mth101-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[Edu 406]]></title><description><![CDATA[Please post your questions here
https://cyberian.pk/topic/1126/edu406-assignment-2-solution-and-discussion
]]></description><link>https://community.secnto.com//topic/2037/edu-406</link><guid isPermaLink="true">https://community.secnto.com//topic/2037/edu-406</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[MTH603 Assignment 2 Solution and Discussion]]></title><description><![CDATA[Solution idea
]]></description><link>https://community.secnto.com//topic/2036/mth603-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/2036/mth603-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[CS614 Assignment No.2 Solution and Discussion]]></title><description><![CDATA[@zareen said in CS614 Assignment No.2 Solution and Discussion:

Question No. 2
Consider the following normalized tables for a telecommunication company showing the daily call record details of customers:
Customer_ID	Customer Phone No.	Balance
1	                033XXXXX	300
2	                033YYYYY	250
3	                033ZZZZZZ	300
4	                033AAAAA	1000
5	                033BBBBB	80
6	                033CCCCC	554
…
…	…
Call_ID	Customer_ID	Dialed Phone Number	Duration	Call Charges
1	1	032ABCVD	1 minute	2 RS
2	1	032ABCVG	2 minutes	4 RS
3	1	032ABCVD	1 minute	2 RS
4	2	032ANNNN	3 minutes	6 RS
5	2	032AMMM	        4 minutes	8 RS
6	3	033RRRRR	1 minute	2 RS
…	…	…	…	…
Due to certain performance factors company wants to de-normalize the tables using pre-joining technique.
Table Information is given below:
•	Assume 1:4 record count ratio between customer Info (master) and Call record detail (detail).
•	Assume 15 million customers.
•	Assume 10 byte Customer_ID.
•	Assume 50 byte header for customer Info (master) and 80 byte header for Call record detail (detail) tables.
You are required to perform the following tasks:
•	Calculate the Total space in GBs used with normalization.
•	Calculate the Total space in GBs used after de-normalization.

Solution:
With normalization:
Total space used = 15 x 50 + 60 x 80 = 5.55 GB
After de-normalization:
Total space used = (80 + 50 – 10) x 60 = 7.2 GB
]]></description><link>https://community.secnto.com//topic/2005/cs614-assignment-no-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/2005/cs614-assignment-no-2-solution-and-discussion</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[CS606 Assignment 2 Solution and Discussion]]></title><description><![CDATA[@zareen said in CS606 Assignment 2 Solution and Discussion:

Assignment 	Marks 20
Question:
X -&gt; aZ
X -&gt; c
Y -&gt; bX
Z -&gt; Ya
Z -&gt; XbY
a)	Find First sets for above grammar. (10 Marks)
b)	Find Follow sets for above grammar. (10 Marks)

Solution:
a)	Find First sets for above grammar. (10 Marks)
First (X)= a, c
First (Y)= b
First (Z)= a, b, c
b)	Find Follow sets for above grammar. (10 Marks)
Follow (X)= a, b, $
Follow (Y)= a, b, $
Follow(Z)= a, b, $
]]></description><link>https://community.secnto.com//topic/2003/cs606-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/2003/cs606-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[PHY301 Assignment 2 Solution and Discussion]]></title><description><![CDATA[@zareen said in PHY301 Assignment 2 Solution and Discussion:

Label and identify meshes in given below circuit. Use Loop/Mesh analysis to find currents through all Meshes.

https://youtu.be/j8LHrm3_brk
]]></description><link>https://community.secnto.com//topic/1967/phy301-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/1967/phy301-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[CS409 Assignment 2 Solution and Discussion]]></title><description><![CDATA[@zareen said in CS409 Assignment 2 Solution and Discussion:

Consider the given below the ERD

[image: qgcCb2r.png]
]]></description><link>https://community.secnto.com//topic/1963/cs409-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/1963/cs409-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zareen]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[CS402 Assignment 2 Solution and Discussion]]></title><description><![CDATA[Develop a program that calculates Loan in C++. Your program should satisfy the following requirement:
User Input:
1 User is asked to enter name.
2 User is asked to enter number of dependent with range (0-5).
3 User is asked to enter status i.e. (Permanent or Probation).
4 User is asked to enter Salary.
5 User is asked to enter Duration at Job (in years):
o &lt;1
o 1-2
o 2-4
o 4-7
o &gt;7
6 User is asked how much loan is required.
Criteria:
 Loan can be given if and only if a person is on Permanent job for more than 1 years.
 Minimum salary from which a loan can be given is 35,000 per month for a person having no
dependent. Minimum salary requirement increases by 20,000 per dependent.
 If years of services is from 1 to 2 years, then max loan amount can be up to 6 salaries.
 If years of services is from 2 to 4 years, then max loan amount can be up to 8 salaries.
 If years of services is from 4 to 7 years, then max loan amount can be up to 10 salaries.
 If years of services is from 7 to 10 years, then max loan amount can be up to 12 salaries.
 If years of services is more than 10 years, then max loan amount can be up to 24 salaries.
 Add 13% interest on the approved loan amount. This amount will be payable within 8 years’
time i.e. 96 months.
 If the money to lend is more than the lend amount, then calculate the difference and show it
properly.
 For unsuccessful Loan Application: Show Message: “CUSTOMER NAME, your lend
application has not been successful this time”.
 For Successful Loan Application: Show Message: “Congratulations CUSTOMER NAME, your
lend application is successful this time. Your monthly installment will be ______ Amount
Payable for 96 months”.
]]></description><link>https://community.secnto.com//topic/1959/cs402-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/1959/cs402-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[Hafeex]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[CS702 Assignment 2 Solution and Discussion]]></title><description><![CDATA[Please share idea
]]></description><link>https://community.secnto.com//topic/1958/cs702-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/1958/cs702-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Invalid Date</pubDate></item><item><title><![CDATA[CS405 Assignment 2 Solution and Discussion]]></title><description><![CDATA[Please share idea
]]></description><link>https://community.secnto.com//topic/1957/cs405-assignment-2-solution-and-discussion</link><guid isPermaLink="true">https://community.secnto.com//topic/1957/cs405-assignment-2-solution-and-discussion</guid><dc:creator><![CDATA[zaasmi]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>